package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallAdDao;
import com.appkubes.mall.core.entity.MallAd;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallAdService extends AbstractBaseService<BaseMallAdDao, MallAd> {

    MallAd getOneByEntity(MallAd entity);

    List<MallAd> selectListByEntity(MallAd entity);

    IPage<MallAd> selectPageByEntity(IPage<MallAd> page);
    IPage<MallAd> selectPageByEntity(PageVO pageVO);

    IPage<MallAd> selectPageByEntity(MallAd entity, IPage<MallAd> page);
    IPage<MallAd> selectPageByEntity(MallAd entity, PageVO pageVO);

    IPage<MallAd> selectPageByEntity(MallAd entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallAd entity);
}
